#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------
# -- This's request result bean
# -- 
# ****************************
# Author: lmay.Zhou
# Blog: www.lmaye.com
# Date: 2017年9月18日18:22:25
# ----------------------------------------------------------

class Result(object):
    """
        response result\n
        :param code 响应代码\n
        :param msg 响应信息\n
        :param t 响应object对象\n
    """

    def __init__(self, code, msg, t):
        self.code = code;
        self.msg = msg;
        self.t = t;

    @property
    def code(self):
        return self._code;

    @code.setter
    def code(self, value):
        self._code = value;

    @property
    def msg(self):
        return self._msg;

    @msg.setter
    def msg(self, value):
        self._msg = value;

    @property
    def t(self):
        return self._t;

    @t.setter
    def t(self, value):
        self._t = value;
